package com.exam.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysExperimentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SysExperimentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andExpidIsNull() {
            addCriterion("ExpId is null");
            return (Criteria) this;
        }

        public Criteria andExpidIsNotNull() {
            addCriterion("ExpId is not null");
            return (Criteria) this;
        }

        public Criteria andExpidEqualTo(Integer value) {
            addCriterion("ExpId =", value, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidNotEqualTo(Integer value) {
            addCriterion("ExpId <>", value, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidGreaterThan(Integer value) {
            addCriterion("ExpId >", value, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ExpId >=", value, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidLessThan(Integer value) {
            addCriterion("ExpId <", value, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidLessThanOrEqualTo(Integer value) {
            addCriterion("ExpId <=", value, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidIn(List<Integer> values) {
            addCriterion("ExpId in", values, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidNotIn(List<Integer> values) {
            addCriterion("ExpId not in", values, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidBetween(Integer value1, Integer value2) {
            addCriterion("ExpId between", value1, value2, "expid");
            return (Criteria) this;
        }

        public Criteria andExpidNotBetween(Integer value1, Integer value2) {
            addCriterion("ExpId not between", value1, value2, "expid");
            return (Criteria) this;
        }

        public Criteria andExpnameIsNull() {
            addCriterion("ExpName is null");
            return (Criteria) this;
        }

        public Criteria andExpnameIsNotNull() {
            addCriterion("ExpName is not null");
            return (Criteria) this;
        }

        public Criteria andExpnameEqualTo(String value) {
            addCriterion("ExpName =", value, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameNotEqualTo(String value) {
            addCriterion("ExpName <>", value, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameGreaterThan(String value) {
            addCriterion("ExpName >", value, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameGreaterThanOrEqualTo(String value) {
            addCriterion("ExpName >=", value, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameLessThan(String value) {
            addCriterion("ExpName <", value, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameLessThanOrEqualTo(String value) {
            addCriterion("ExpName <=", value, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameLike(String value) {
            addCriterion("ExpName like", value, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameNotLike(String value) {
            addCriterion("ExpName not like", value, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameIn(List<String> values) {
            addCriterion("ExpName in", values, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameNotIn(List<String> values) {
            addCriterion("ExpName not in", values, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameBetween(String value1, String value2) {
            addCriterion("ExpName between", value1, value2, "expname");
            return (Criteria) this;
        }

        public Criteria andExpnameNotBetween(String value1, String value2) {
            addCriterion("ExpName not between", value1, value2, "expname");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andGrouplistIsNull() {
            addCriterion("GroupList is null");
            return (Criteria) this;
        }

        public Criteria andGrouplistIsNotNull() {
            addCriterion("GroupList is not null");
            return (Criteria) this;
        }

        public Criteria andGrouplistEqualTo(String value) {
            addCriterion("GroupList =", value, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistNotEqualTo(String value) {
            addCriterion("GroupList <>", value, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistGreaterThan(String value) {
            addCriterion("GroupList >", value, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistGreaterThanOrEqualTo(String value) {
            addCriterion("GroupList >=", value, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistLessThan(String value) {
            addCriterion("GroupList <", value, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistLessThanOrEqualTo(String value) {
            addCriterion("GroupList <=", value, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistLike(String value) {
            addCriterion("GroupList like", value, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistNotLike(String value) {
            addCriterion("GroupList not like", value, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistIn(List<String> values) {
            addCriterion("GroupList in", values, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistNotIn(List<String> values) {
            addCriterion("GroupList not in", values, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistBetween(String value1, String value2) {
            addCriterion("GroupList between", value1, value2, "grouplist");
            return (Criteria) this;
        }

        public Criteria andGrouplistNotBetween(String value1, String value2) {
            addCriterion("GroupList not between", value1, value2, "grouplist");
            return (Criteria) this;
        }

        public Criteria andUserlistIsNull() {
            addCriterion("UserList is null");
            return (Criteria) this;
        }

        public Criteria andUserlistIsNotNull() {
            addCriterion("UserList is not null");
            return (Criteria) this;
        }

        public Criteria andUserlistEqualTo(String value) {
            addCriterion("UserList =", value, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistNotEqualTo(String value) {
            addCriterion("UserList <>", value, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistGreaterThan(String value) {
            addCriterion("UserList >", value, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistGreaterThanOrEqualTo(String value) {
            addCriterion("UserList >=", value, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistLessThan(String value) {
            addCriterion("UserList <", value, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistLessThanOrEqualTo(String value) {
            addCriterion("UserList <=", value, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistLike(String value) {
            addCriterion("UserList like", value, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistNotLike(String value) {
            addCriterion("UserList not like", value, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistIn(List<String> values) {
            addCriterion("UserList in", values, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistNotIn(List<String> values) {
            addCriterion("UserList not in", values, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistBetween(String value1, String value2) {
            addCriterion("UserList between", value1, value2, "userlist");
            return (Criteria) this;
        }

        public Criteria andUserlistNotBetween(String value1, String value2) {
            addCriterion("UserList not between", value1, value2, "userlist");
            return (Criteria) this;
        }

        public Criteria andClasslistIsNull() {
            addCriterion("ClassList is null");
            return (Criteria) this;
        }

        public Criteria andClasslistIsNotNull() {
            addCriterion("ClassList is not null");
            return (Criteria) this;
        }

        public Criteria andClasslistEqualTo(String value) {
            addCriterion("ClassList =", value, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistNotEqualTo(String value) {
            addCriterion("ClassList <>", value, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistGreaterThan(String value) {
            addCriterion("ClassList >", value, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistGreaterThanOrEqualTo(String value) {
            addCriterion("ClassList >=", value, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistLessThan(String value) {
            addCriterion("ClassList <", value, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistLessThanOrEqualTo(String value) {
            addCriterion("ClassList <=", value, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistLike(String value) {
            addCriterion("ClassList like", value, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistNotLike(String value) {
            addCriterion("ClassList not like", value, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistIn(List<String> values) {
            addCriterion("ClassList in", values, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistNotIn(List<String> values) {
            addCriterion("ClassList not in", values, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistBetween(String value1, String value2) {
            addCriterion("ClassList between", value1, value2, "classlist");
            return (Criteria) this;
        }

        public Criteria andClasslistNotBetween(String value1, String value2) {
            addCriterion("ClassList not between", value1, value2, "classlist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistIsNull() {
            addCriterion("GameModeList is null");
            return (Criteria) this;
        }

        public Criteria andGamemodelistIsNotNull() {
            addCriterion("GameModeList is not null");
            return (Criteria) this;
        }

        public Criteria andGamemodelistEqualTo(String value) {
            addCriterion("GameModeList =", value, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistNotEqualTo(String value) {
            addCriterion("GameModeList <>", value, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistGreaterThan(String value) {
            addCriterion("GameModeList >", value, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistGreaterThanOrEqualTo(String value) {
            addCriterion("GameModeList >=", value, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistLessThan(String value) {
            addCriterion("GameModeList <", value, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistLessThanOrEqualTo(String value) {
            addCriterion("GameModeList <=", value, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistLike(String value) {
            addCriterion("GameModeList like", value, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistNotLike(String value) {
            addCriterion("GameModeList not like", value, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistIn(List<String> values) {
            addCriterion("GameModeList in", values, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistNotIn(List<String> values) {
            addCriterion("GameModeList not in", values, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistBetween(String value1, String value2) {
            addCriterion("GameModeList between", value1, value2, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andGamemodelistNotBetween(String value1, String value2) {
            addCriterion("GameModeList not between", value1, value2, "gamemodelist");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("Score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("Score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(BigDecimal value) {
            addCriterion("Score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(BigDecimal value) {
            addCriterion("Score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(BigDecimal value) {
            addCriterion("Score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(BigDecimal value) {
            addCriterion("Score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<BigDecimal> values) {
            addCriterion("Score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<BigDecimal> values) {
            addCriterion("Score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIsNull() {
            addCriterion("CreatePerson is null");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIsNotNull() {
            addCriterion("CreatePerson is not null");
            return (Criteria) this;
        }

        public Criteria andCreatepersonEqualTo(String value) {
            addCriterion("CreatePerson =", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotEqualTo(String value) {
            addCriterion("CreatePerson <>", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonGreaterThan(String value) {
            addCriterion("CreatePerson >", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonGreaterThanOrEqualTo(String value) {
            addCriterion("CreatePerson >=", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLessThan(String value) {
            addCriterion("CreatePerson <", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLessThanOrEqualTo(String value) {
            addCriterion("CreatePerson <=", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonLike(String value) {
            addCriterion("CreatePerson like", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotLike(String value) {
            addCriterion("CreatePerson not like", value, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonIn(List<String> values) {
            addCriterion("CreatePerson in", values, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotIn(List<String> values) {
            addCriterion("CreatePerson not in", values, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonBetween(String value1, String value2) {
            addCriterion("CreatePerson between", value1, value2, "createperson");
            return (Criteria) this;
        }

        public Criteria andCreatepersonNotBetween(String value1, String value2) {
            addCriterion("CreatePerson not between", value1, value2, "createperson");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}